/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = ora_NUMBER.h                                       */
/*  NOTE      =                                                    */
/*  DATE      = 2014/11/07 by songbb                               */
/*******************************************************************/

#ifndef __ORA_NUMBER_H_
#define __ORA_NUMBER_H_

int ora_NUMBER_isZero(char *p_data, unsigned int ui_len);

int ora_NUMBER_isPosInf(char *p_data, unsigned int ui_len);

int ora_NUMBER_isNegInf(char *p_data, unsigned int ui_len);

int ora_NUMBER_isInf(char *p_data, unsigned int ui_len);

int ora_NUMBER_isPositive(char *p_data);

int ora_NUMBER_makeZero(char **pp_out
                        , int *p_i_out_len);

int ora_NUMBER_makeNegInf(char **pp_out
                        , int *p_i_out_len);

int ora_NUMBER_makePosInf(char **pp_out
                        , int *p_i_out_len);

int ora_NUMBER_toChar(char *p_payload
                    , unsigned int ui_payload_len
                    , char **pp_out
                    , int *p_i_out_len);

#endif
